Benjamin Otte [Sat, 8 Oct 2016 03:07:23 +0000 (05:07 +0200)]
API: stylecontext: Remove state argument from getters
The argument must always be the current state.
Benjamin Otte [Fri, 7 Oct 2016 23:27:36 +0000 (01:27 +0200)]
API: Remove libgail-util
Benjamin Otte [Fri, 7 Oct 2016 23:16:46 +0000 (01:16 +0200)]
API: stylecontext: Remove regions
Benjamin Otte [Fri, 7 Oct 2016 22:22:55 +0000 (00:22 +0200)]
gdk: Remove unused argument parsing structs
Benjamin Otte [Fri, 7 Oct 2016 22:20:30 +0000 (00:20 +0200)]
gdk: Remove leftover structs from ClientMessage days
Benjamin Otte [Fri, 7 Oct 2016 22:18:36 +0000 (00:18 +0200)]
gdk: Remove unused structs from ColorMap days
Benjamin Otte [Fri, 7 Oct 2016 03:41:30 +0000 (05:41 +0200)]
css: Remove custom properties
Those aren't used anymore, now that theming engines are gone.
Benjamin Otte [Fri, 7 Oct 2016 02:58:35 +0000 (04:58 +0200)]
API: Remove GtkStyleProperties
Benjamin Otte [Fri, 7 Oct 2016 02:31:37 +0000 (04:31 +0200)]
API: Remove API to set CSS properties from GValues
This API was only used in GtkModifierStyle and GtkStyleProperties and
they are both on their way out.
CSS properties must now be set using strings via the regular parser API.
Benjamin Otte [Fri, 7 Oct 2016 01:51:38 +0000 (03:51 +0200)]
API: stylecontext: Remove old unused animation functions
Timm Bäder [Wed, 5 Oct 2016 18:26:08 +0000 (20:26 +0200)]
Remove GtkThemingEngine
As well as the corresponding GtkCssEngineValue used to parse it in css.
Timm Bäder [Wed, 5 Oct 2016 17:37:44 +0000 (19:37 +0200)]
ui: Don't unnecessarily set GtkEntry:invisible-char
Timm Bäder [Wed, 5 Oct 2016 17:37:02 +0000 (19:37 +0200)]
entry: Remove invisible-char style property
Timm Bäder [Wed, 5 Oct 2016 16:35:52 +0000 (18:35 +0200)]
stylecontext: Remove _REGION_ constants
Timm Bäder [Wed, 5 Oct 2016 16:35:06 +0000 (18:35 +0200)]
Remove GtkIconFactory
Move the icon size lookup API into gtkicontheme.c
Timm Bäder [Wed, 5 Oct 2016 17:41:07 +0000 (19:41 +0200)]
widget-factory: Stop using custom icon sizes
Timm Bäder [Wed, 5 Oct 2016 15:23:29 +0000 (17:23 +0200)]
widget: Remove cursor-aspect-ratio/window-dragging style properties
And replaces its usages in GtkTextView/GtkStyleContext with a hard-coded
0.04 which was the default value for cursor-aspect-ratio. Also remove
the public gtk_draw_insertion_cursor which used draw_insertion_cursor
which in turn looked up cursor-aspect-ratio
Timm Bäder [Wed, 5 Oct 2016 15:08:11 +0000 (17:08 +0200)]
gtkwidget: Remove gtk_widget_class_install_style_property_parser...
... from public API
Timm Bäder [Wed, 5 Oct 2016 15:07:08 +0000 (17:07 +0200)]
widget: Remove cursor-aspect-ratio style property
Timm Bäder [Wed, 5 Oct 2016 13:01:27 +0000 (15:01 +0200)]
Remove GtkModifierStyle
Timm Bäder [Wed, 5 Oct 2016 12:47:33 +0000 (14:47 +0200)]
widget: Remove gtk_widget_override* API
Timm Bäder [Wed, 5 Oct 2016 12:46:49 +0000 (14:46 +0200)]
testoverlay: Stop using gtk_widget_override API
Timm Bäder [Wed, 5 Oct 2016 12:26:30 +0000 (14:26 +0200)]
plugman: Stop using gtk_override_color
Timm Bäder [Wed, 5 Oct 2016 06:14:24 +0000 (08:14 +0200)]
Remove a few more unused style properties
Timm Bäder [Tue, 4 Oct 2016 19:15:52 +0000 (21:15 +0200)]
widget: Remove text-handle-width/height style properties
Timm Bäder [Tue, 4 Oct 2016 19:13:29 +0000 (21:13 +0200)]
GtkTextHandle: Use min-width/min-height
instead of GtkWidget's text-handle-width/text-handle-height style
properties
Timm Bäder [Tue, 4 Oct 2016 18:16:52 +0000 (20:16 +0200)]
Remove various unused style properties
Timm Bäder [Tue, 4 Oct 2016 18:01:33 +0000 (20:01 +0200)]
Fix a few GtkTextTag:*-gdk references
Timm Bäder [Tue, 4 Oct 2016 17:53:36 +0000 (19:53 +0200)]
Remove various sizing related style properties
Timm Bäder [Tue, 4 Oct 2016 17:23:10 +0000 (19:23 +0200)]
switch: Remove deprecated style properties
Timm Bäder [Tue, 4 Oct 2016 17:14:38 +0000 (19:14 +0200)]
entry: Remove deprecated style properties
Timm Bäder [Tue, 4 Oct 2016 17:09:58 +0000 (19:09 +0200)]
widget: Remove visibility-notify-event
Timm Bäder [Tue, 4 Oct 2016 17:02:53 +0000 (19:02 +0200)]
entry: Remove inner-border (style) property
Timm Bäder [Tue, 4 Oct 2016 16:34:05 +0000 (18:34 +0200)]
widget: Remove deprecated margin-left/right properties
Timm Bäder [Tue, 4 Oct 2016 16:27:31 +0000 (18:27 +0200)]
widget: Remove gtk_widget_{s,g}et_composite_name
Timm Bäder [Tue, 4 Oct 2016 16:27:16 +0000 (18:27 +0200)]
widget: Remove gtk_widget_get_requisition
Timm Bäder [Tue, 4 Oct 2016 16:19:51 +0000 (18:19 +0200)]
widget: Remove gtk_widget_send_expose
Timm Bäder [Tue, 4 Oct 2016 16:18:53 +0000 (18:18 +0200)]
widget: Remove gtk_widget_{s,g}et_state
Timm Bäder [Tue, 4 Oct 2016 16:14:35 +0000 (18:14 +0200)]
widget: Remove gtk_widget_region_intersect
Timm Bäder [Tue, 4 Oct 2016 16:13:35 +0000 (18:13 +0200)]
widget: Remove gtk_widget_get_child_requisition
Timm Bäder [Tue, 4 Oct 2016 16:10:39 +0000 (18:10 +0200)]
widget: Remove gtk_widget_size_request
Timm Bäder [Tue, 4 Oct 2016 16:04:48 +0000 (18:04 +0200)]
widget: Remove state-changed signal
Timm Bäder [Tue, 4 Oct 2016 16:47:05 +0000 (18:47 +0200)]
widget: Remove deprecated style properties
Timm Bäder [Tue, 4 Oct 2016 16:46:39 +0000 (18:46 +0200)]
testsensitive: Use state-flags-changed instead of state-changed
Timm Bäder [Tue, 4 Oct 2016 15:56:06 +0000 (17:56 +0200)]
Remove some deprecated GdkColor style properties
Timm Bäder [Tue, 4 Oct 2016 15:05:47 +0000 (17:05 +0200)]
image: Remove GtkIconSet API
Timm Bäder [Tue, 4 Oct 2016 14:50:28 +0000 (16:50 +0200)]
range: Remove min slider size setter/getter
Timm Bäder [Tue, 4 Oct 2016 14:40:20 +0000 (16:40 +0200)]
scrollbar: Remove min-slider-length style property
Timm Bäder [Tue, 4 Oct 2016 14:36:27 +0000 (16:36 +0200)]
label: Remove now unneeded deprecation markers
Timm Bäder [Tue, 4 Oct 2016 14:35:53 +0000 (16:35 +0200)]
scrolledwindow: Remove window-placement-set property
Timm Bäder [Tue, 4 Oct 2016 14:35:24 +0000 (16:35 +0200)]
scrolledwindow: Remove scrollbar-spacing and scrollbars-within-bevel
Timm Bäder [Tue, 4 Oct 2016 14:33:05 +0000 (16:33 +0200)]
scrolledwindow: Remove _add_with_viewport
Replaced by a normal gtk_container_add
Timm Bäder [Tue, 4 Oct 2016 13:46:01 +0000 (15:46 +0200)]
Remove GtkHSV
Timm Bäder [Tue, 4 Oct 2016 10:50:56 +0000 (12:50 +0200)]
Remove various deprecated GtkOrientable subclasses
Timm Bäder [Tue, 4 Oct 2016 10:34:10 +0000 (12:34 +0200)]
Remove gtkcolorsel(dialog).{c,h}
Timm Bäder [Tue, 4 Oct 2016 08:41:25 +0000 (10:41 +0200)]
window: Remove _set/_get_opacity
Timm Bäder [Tue, 4 Oct 2016 08:30:57 +0000 (10:30 +0200)]
window: Remove resize grip API
Timm Bäder [Tue, 4 Oct 2016 08:30:07 +0000 (10:30 +0200)]
Remove gtkfontsel.{c,h}
Timm Bäder [Tue, 4 Oct 2016 08:03:52 +0000 (10:03 +0200)]
dialog: Remove alternative button order API
Timm Bäder [Mon, 3 Oct 2016 18:02:21 +0000 (20:02 +0200)]
Remove GtkHandleBox
Timm Bäder [Mon, 3 Oct 2016 16:25:18 +0000 (18:25 +0200)]
Remove GtkImageMenuItem
Timm Bäder [Mon, 3 Oct 2016 16:08:53 +0000 (18:08 +0200)]
reftests: Remove GtkMisc tests
Timm Bäder [Mon, 3 Oct 2016 15:54:51 +0000 (17:54 +0200)]
Fix a few css/a11y test cases
They were broken because of missing -icon-stock properties in GtkEntry
and GtkButton not creating an adjustment child anymore.
Timm Bäder [Mon, 3 Oct 2016 10:34:17 +0000 (12:34 +0200)]
Remove GtkMisc
Timm Bäder [Mon, 3 Oct 2016 10:34:30 +0000 (12:34 +0200)]
testfilechooserbutton: Remove GtkMisc API usage
Timm Bäder [Mon, 3 Oct 2016 10:31:47 +0000 (12:31 +0200)]
reftests: Remove celldenderer-pixbuf-stock
The stock properties tested here don't exist anymore.
Timm Bäder [Mon, 3 Oct 2016 09:03:47 +0000 (11:03 +0200)]
Remove GtkArrow
Timm Bäder [Mon, 3 Oct 2016 08:52:40 +0000 (10:52 +0200)]
shortcutswindow: Stop using GtkArrow
Timm Bäder [Mon, 3 Oct 2016 08:33:17 +0000 (10:33 +0200)]
Remove GtkStock API from GtkImage
Timm Bäder [Mon, 3 Oct 2016 08:20:22 +0000 (10:20 +0200)]
reftests: Remove GtkMisc properties from now non-misc widgets
Timm Bäder [Mon, 3 Oct 2016 07:57:57 +0000 (09:57 +0200)]
recentchoosermenu: Stop using GtkImageMenuItem
Timm Bäder [Mon, 3 Oct 2016 07:46:57 +0000 (09:46 +0200)]
toolbutton: Stop using GtkImageMenuItem
Timm Bäder [Mon, 3 Oct 2016 07:33:32 +0000 (09:33 +0200)]
testgtk: Remove GtkImageMenuItem usage
Timm Bäder [Mon, 3 Oct 2016 07:31:44 +0000 (09:31 +0200)]
testgtk: fix css
Timm Bäder [Sun, 2 Oct 2016 18:10:22 +0000 (20:10 +0200)]
testbuttons: Stop looking at use-stock property
Doesn't exist anymore. Instead, force the image to be visible on one of
the buttons.
Timm Bäder [Sun, 2 Oct 2016 17:54:37 +0000 (19:54 +0200)]
button: Remove _{get,set}_focus_click
Deprecated for the GtkWidget variant. Also remove some unused fields
from the GtkButtonPrivate struct.
Timm Bäder [Sun, 2 Oct 2016 17:47:25 +0000 (19:47 +0200)]
button: Remove deprecated style properties
Timm Bäder [Sun, 2 Oct 2016 17:46:52 +0000 (19:46 +0200)]
button: Remove deprecated signals from public API
Timm Bäder [Sun, 2 Oct 2016 17:03:29 +0000 (19:03 +0200)]
button: Remove GtkStock API
Timm Bäder [Sun, 2 Oct 2016 16:51:09 +0000 (18:51 +0200)]
tests: Remove teststockbuttonmenu
Timm Bäder [Sun, 2 Oct 2016 16:35:36 +0000 (18:35 +0200)]
Button: Remove alignment API
Timm Bäder [Sun, 2 Oct 2016 16:19:59 +0000 (18:19 +0200)]
label,image: Remove GtkMisc usage
Timm Bäder [Sun, 2 Oct 2016 15:37:22 +0000 (17:37 +0200)]
box: Remove 'padding' child property
Timm Bäder [Sun, 2 Oct 2016 07:15:27 +0000 (09:15 +0200)]
inspector: Remove object_title from css editor
It's unused
Timm Bäder [Sun, 2 Oct 2016 06:43:30 +0000 (08:43 +0200)]
Don't use GtkBox's center child in a few places
We can as well use a normal child and let it hexpand.
Benjamin Otte [Thu, 6 Oct 2016 21:55:53 +0000 (23:55 +0200)]
API: Remove gdk_window_set_background()
Backgrounds are always transparent black.
Benjamin Otte [Thu, 6 Oct 2016 21:39:05 +0000 (23:39 +0200)]
tests: Remove testwindows test
It wasn't drawing anything anymore...
Benjamin Otte [Thu, 6 Oct 2016 20:37:42 +0000 (22:37 +0200)]
API: Remove GtkStyle
All the remaining gtkrc.c stuff like GtkRcStyle goes with it.
Benjamin Otte [Thu, 6 Oct 2016 19:46:27 +0000 (21:46 +0200)]
settings: Pull in the RC parsing code
Benjamin Otte [Thu, 6 Oct 2016 17:59:53 +0000 (19:59 +0200)]
immodules: Move path code out of gtkrc
Benjamin Otte [Thu, 6 Oct 2016 14:41:41 +0000 (16:41 +0200)]
cellrendererspinner: Draw our own spinner
This is the GtkStyle code just moved.
Benjamin Otte [Thu, 6 Oct 2016 14:02:39 +0000 (16:02 +0200)]
API: Remove ability to set visuals on windows
And with it, gtk_widget_get_visual() and gtk_widget_set_visual() are
gone.
We now always use the RGBA visual (if available) and otherwise fall back
to the system visual.
Benjamin Otte [Mon, 3 Oct 2016 19:16:40 +0000 (21:16 +0200)]
API: Remove gtk_drag_dest_set_proxy()
Proxies were only used by GtkSocket.
Benjamin Otte [Mon, 3 Oct 2016 16:30:40 +0000 (18:30 +0200)]
API: Remove GtkPlug, GtkSocket and GtkWin32EmbedWidget
Benjamin Otte [Sun, 2 Oct 2016 01:02:10 +0000 (03:02 +0200)]
API: Remove gdk_window_set_composited()
And the related call gdk_display_supports_composite().
Benjamin Otte [Fri, 30 Sep 2016 17:27:38 +0000 (19:27 +0200)]
screen: Remove unused vfunc
GdkScreenClass.broadcast_client_message was unused, but a bunch of
backends still had functions (not) implementing it.
Benjamin Otte [Fri, 30 Sep 2016 03:14:53 +0000 (05:14 +0200)]
filechooserwidget: Query dpi from CssStyle
Benjamin Otte [Fri, 30 Sep 2016 03:11:19 +0000 (05:11 +0200)]
fontchooserwidget: Query dpi from CssStyle
Benjamin Otte [Fri, 30 Sep 2016 02:58:29 +0000 (04:58 +0200)]
API: screen: Stop storing font options
font options are only ever set by the GtkSettings object and only ever
used inside GTK, so just store them there.
Benjamin Otte [Fri, 30 Sep 2016 00:53:31 +0000 (02:53 +0200)]
API: Remove GDK_WA_CURSOR
The cursor was set using gdk_window_set_cursor() even in
gdk_window_new().
So instead of having yet another flag, just make the users of that flag
call gdk_window_set_cursor() directly after the window was created.